package day1015;

/**
 * @Author:galaxy_yan
 * @Date: 2022/10/15
 * @Time: 16:50
 * @Description
 */
public class Demo1 {
    public static void main(String[] args) {
        MyStack stack=new MyStack();
        stack.push(12);
        stack.push(23);
        stack.push(34);
        stack.push(45);

        System.out.println(stack.peek());
        stack.pop();
        System.out.println(stack.peek());
    }
}

